<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>MPCDI Library: src/Creators/mpcdiCreateProfile.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="scalable_logo.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">MPCDI Library
   </div>
   <div id="projectbrief">MPCDI  Reader/Writer/Creater/Validator/etc.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('mpcdi_create_profile_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">mpcdiCreateProfile.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mpcdi_create_profile_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* =========================================================================</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">  Program:   Multiple Projector Library</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">  Language:  C++</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">  Copyright (c) 2013 Scalable Display Technologies, Inc.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">  All Rights Reserved</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">  The source code contained herein is confidential and is considered a </span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">  trade secret of Scalable Display Technologies, Inc</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">===================================================================auto== */</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">namespace </span>mpcdi {</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mpcdi_profile_8h.html">mpcdiProfile.h</a>&quot;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">namespace </span>mpcdi {</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html">   47</a></span>&#160;<span class="keyword">class </span><a class="code" href="mpcdi_header_8h.html#ad36b9f271e22b726d8596cd6a8eef3b3">EXPORT_MPCDI</a> <a class="code" href="classmpcdi_1_1_create_profile.html" title="A Base Class for Creating a Profile. ">CreateProfile</a> {</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keyword">virtual</span> ~<a class="code" href="classmpcdi_1_1_create_profile.html" title="A Base Class for Creating a Profile. ">CreateProfile</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a04c3a06e3506875c1b0950946a390d2a">   56</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmpcdi_1_1_create_profile.html#a04c3a06e3506875c1b0950946a390d2a">SetLevel</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;Level) { m_Profile-&gt;SetLevel(Level); }</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#ac4d267dc35f38070d323078757b581d0">   59</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#ac4d267dc35f38070d323078757b581d0">CreateNewBuffer</a>(<span class="keyword">const</span> std::string &amp;newBufferId)</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  { <span class="keywordflow">return</span> m_Profile-&gt;GetDisplay()-&gt;NewBuffer(newBufferId); }</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a16a5bdeec68497a8a8a67f9aaff43b81">   63</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#a16a5bdeec68497a8a8a67f9aaff43b81">CreateNewRegion</a>(<span class="keyword">const</span> std::string &amp;BufferId,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;                              <span class="keyword">const</span> std::string &amp;RegionId)</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; { <span class="keywordflow">return</span> CreateNewRegion(GetBuffer(BufferId),RegionId); }</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a5eb67ce86e9555fe7421fa6eabf63c85">   66</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#a5eb67ce86e9555fe7421fa6eabf63c85">CreateNewRegion</a>(<a class="code" href="structmpcdi_1_1_buffer.html" title="An MPCDI Buffer. ">Buffer</a> *Buff,</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;                              <span class="keyword">const</span> std::string &amp;newRegionId)</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  { <span class="keywordflow">return</span> Buff-&gt;<a class="code" href="structmpcdi_1_1_buffer.html#a1be70742a0b13f1088989107ca08f25a">NewRegion</a>(newRegionId); }</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a6736d02960858234689bb93017cafee7">   71</a></span>&#160;  <a class="code" href="structmpcdi_1_1_buffer.html" title="An MPCDI Buffer. ">Buffer</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#a6736d02960858234689bb93017cafee7">GetBuffer</a>(<span class="keyword">const</span> std::string &amp;BufferId)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  { <span class="keywordflow">return</span> m_Profile-&gt;GetDisplay()-&gt;GetBuffer(BufferId); }</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a338736278d286ad74187a6e82605c707">   75</a></span>&#160;  <a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#a338736278d286ad74187a6e82605c707">GetRegion</a>(<a class="code" href="structmpcdi_1_1_buffer.html" title="An MPCDI Buffer. ">Buffer</a> *Buff, <span class="keyword">const</span> std::string &amp;RegionId)</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  { <span class="keywordflow">return</span> Buff-&gt;<a class="code" href="structmpcdi_1_1_buffer.html#a3d3734b7a679542acf9b659ff671e9a3">GetRegion</a>(RegionId); }</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#ac0c8233c5d1a26edab956d50a4a7a12b">   77</a></span>&#160;  <a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#ac0c8233c5d1a26edab956d50a4a7a12b">GetRegion</a>(<span class="keyword">const</span> std::string &amp;BufferId,</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                    <span class="keyword">const</span> std::string &amp;RegionId)</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  { <span class="keywordflow">return</span> GetRegion(GetBuffer(BufferId),RegionId); }</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a84db63eb18a9c39c69b7ef6d36444c86">   83</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#a84db63eb18a9c39c69b7ef6d36444c86">CreateAlphaMap</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r,</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;sizeX,</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;sizeY,</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;                             <span class="keyword">const</span> <a class="code" href="namespacempcdi.html#a5fcdbc55be915d88c965f79ec0dc9228">ComponentDepth</a> &amp;cd)</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  { <span class="keywordflow">return</span> r-&gt;GetFileSet()-&gt;SetAlphaMap(sizeX,sizeY,cd); }</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a755a89c34fb59678f64173629768287b">   90</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmpcdi_1_1_create_profile.html#a755a89c34fb59678f64173629768287b">SetGammaEmbedded</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;gamma)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  { <span class="keywordflow">if</span> (GetAlphaMap(r)!= NULL) GetAlphaMap(r)-&gt;SetGammaEmbedded(gamma); }</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#afb9b5c91b9e2ff9fa37409cbb2de043b">   94</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#afb9b5c91b9e2ff9fa37409cbb2de043b">CreateBetaMap</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r,</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                            <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;sizeX,</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                            <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;sizeY,</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                            <span class="keyword">const</span> <a class="code" href="namespacempcdi.html#a5fcdbc55be915d88c965f79ec0dc9228">ComponentDepth</a> &amp;cd)</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  { m_HaveBetaMap = <span class="keyword">true</span>; UpdateLevel();</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keywordflow">return</span> r-&gt;GetFileSet()-&gt;SetBetaMap(sizeX,sizeY,cd); }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a54c3643935a7300c3c34bb5abfcf0197">  103</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#a54c3643935a7300c3c34bb5abfcf0197">CreateGeometryWarpFile</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r,</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                                     <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;xRes,</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;                                     <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;yRes)</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  { CheckPerPixelResolution(r,xRes,yRes); UpdateLevel();</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordflow">return</span> r-&gt;GetFileSet()-&gt;SetGeometryWarpFile(xRes,yRes); }</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a241906f1aa7ef66b32c38c90453f291b">  110</a></span>&#160;  <a class="code" href="structmpcdi_1_1_beta_map.html" title="An MPCDI Alpha Map. ">BetaMap</a>  *<a class="code" href="classmpcdi_1_1_create_profile.html#a241906f1aa7ef66b32c38c90453f291b">GetBetaMap</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r)  {<span class="keywordflow">return</span> r-&gt;GetFileSet()-&gt;GetBetaMap();}</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a2f2130c57574c761365da9a1e458e242">  111</a></span>&#160;  <a class="code" href="structmpcdi_1_1_alpha_map.html" title="An MPCDI Alpha Map. ">AlphaMap</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#a2f2130c57574c761365da9a1e458e242">GetAlphaMap</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r) {<span class="keywordflow">return</span> r-&gt;GetFileSet()-&gt;GetAlphaMap();}</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a738fbbc8aa5308ca22229bae905391c8">  112</a></span>&#160;  <a class="code" href="structmpcdi_1_1_geometry_warp_file.html" title="An MPCDI GeometryWarpFile Tag. ">GeometryWarpFile</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#a738fbbc8aa5308ca22229bae905391c8">GetGeometryWarpFile</a>(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r)</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  { <span class="keywordflow">return</span> r-&gt;GetFileSet()-&gt;GetGeometryWarpFile(); }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#ad3bf1c4b784c880893ca9e469bd847b9">  118</a></span>&#160;  <a class="code" href="namespacempcdi.html#acd4b0b3107b2a04ec04ba94b834fd881">MPCDI_Error</a> <a class="code" href="classmpcdi_1_1_create_profile.html#ad3bf1c4b784c880893ca9e469bd847b9">ValidateProfile</a>() { <span class="keywordflow">return</span> m_Profile-&gt;ValidateProfile(); }</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a5d06655be2418fc86f8ee56ac507286e">  121</a></span>&#160;  <a class="code" href="structmpcdi_1_1_profile.html" title="The MPCDI Profile. The root of the tree structure. ">Profile</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#a5d06655be2418fc86f8ee56ac507286e">GetProfile</a>() { <span class="keywordflow">return</span> m_Profile; }</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;       <a class="code" href="mpcdi_macros_8h.html#aa069c9e81e8c911fba635cf2d3807b38">mpcdiSetMacro</a>(DeleteProfile, <span class="keywordtype">bool</span>);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <a class="code" href="mpcdi_macros_8h.html#a6ab33a7ec4aa8161c3543c1ef076d319">mpcdiGetConstMacro</a>(DeleteProfile, <span class="keywordtype">bool</span>);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> UpdateLevel();</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <a class="code" href="classmpcdi_1_1_create_profile.html" title="A Base Class for Creating a Profile. ">CreateProfile</a>();</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a3c74cfbbc6aa17bbc75273decde756f2">  140</a></span>&#160;  <a class="code" href="structmpcdi_1_1_profile.html" title="The MPCDI Profile. The root of the tree structure. ">Profile</a> *<a class="code" href="classmpcdi_1_1_create_profile.html#a3c74cfbbc6aa17bbc75273decde756f2">m_Profile</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#ab2c53843a282f5771fc7456a6f45b735">  141</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classmpcdi_1_1_create_profile.html#ab2c53843a282f5771fc7456a6f45b735">m_DeleteProfile</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <span class="comment">// Information for calculating the level.</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a6c88e60ff23d964a4e90e9f3a4a8b5dd">  144</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classmpcdi_1_1_create_profile.html#a6c88e60ff23d964a4e90e9f3a4a8b5dd">m_HaveBetaMap</a>; <span class="comment">// Guarantees at least level 2.</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#ababe1db504a4e839d1a3c6ea304bfc42">  145</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classmpcdi_1_1_create_profile.html#ababe1db504a4e839d1a3c6ea304bfc42">m_HaveDistortionMap</a>; <span class="comment">// Guarantees at least level 3 for Shader Lamps</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="classmpcdi_1_1_create_profile.html#a4482aded4f9ae70ab15a5bcc7f50bf20">  146</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classmpcdi_1_1_create_profile.html#a4482aded4f9ae70ab15a5bcc7f50bf20">m_HavePerPixelResolution</a>;     <span class="comment">// Level 3 for 2D and 3D and a3D</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <span class="keywordtype">void</span> CheckPerPixelResolution(<a class="code" href="structmpcdi_1_1_region.html" title="An MPCDI Region. ">Region</a> *r,</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                               <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;xres,</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                               <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;yres);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;};</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;}; <span class="comment">// end namespace mpcdi </span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_48707253f8d1e0f88317c21bf0ba6781.html">Creators</a></li><li class="navelem"><a class="el" href="mpcdi_create_profile_8h.html">mpcdiCreateProfile.h</a></li>
    <li class="footer">Generated on Thu Aug 15 2013 13:49:01 for MPCDI Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.4 </li>
  </ul>
</div>
</body>
</html>
